package cn.dz.heima02;

/**
 * @ClassName StudentDemo
 * @package: cn.dz.heima02
 * @Description 学生测试类
 * @Author dz
 * @Date 2025/2/5 16:13
 * @Version 1.0
 **/
public class StudentDemo {
    public static void main(String[] args) {
        // 创建对象
        Student s = new Student();

        // 使用对象
        System.out.println(s.name + "," + s.age);

        s.name = "林青霞";
        s.age = 30;

        System.out.println(s.name + "," + s.age);

        s.study();
        s.doHomework();
    }
}
